package com.huqing.icu.service.vectorstore;

import org.springframework.ai.document.Document;
import org.springframework.ai.document.DocumentReader;
import org.springframework.core.io.Resource;

import java.util.List;

public interface IVectorStoreService {

    DocumentReader createDocumentReader(String fileName, Resource resource);

    List<Document> read(Resource resource, String fileName);

    Integer saveVectorStore(List<Document> documentList, String fileName);

    List<Document> similarityVectorData(String fileName, String content, Double similarityThreshold, Integer topK, List<Object> fileNameList);
}
